package com.rm.zeyou.constant;

/**
 * 公共常量
 */
public class CommonConstants {

    /**
     * 手机号注册类型
     */
    public static final String SMS_USER_REGISTER = "SMS_USER_REGISTER";
    /**
     * 登录发送验证码
     */
    public static final String SMS_USER_LOGIN = "SMS_USER_LOGIN";
    /**
     * 手机号忘记密码类型
     */
    public static final String SMS_USER_FORGET_PASSWORD = "SMS_USER_FORGET_PASSWORD";

    /**
     * 用户绑定手机号发送验证码
     */
    public static final String USER_BLIND_TEL = "USER_BLIND_TEL";

    /**
     * 技师入住发送验证码
     */
    public static final String APPLY_RECRUITMENT = "APPLY_RECRUITMENT";
    /**
     * 城市合伙人申请发送验证码
     */
    public static final String APPLY_PARTNER = "APPLY_PARTNER";
    /**
     * 技师更换密码
     */
    public static final String TECHNICIAN_REPLACE_PASS = "TECHNICIAN_REPLACE_PASS";
    /**
     * 技师更换手机号验证
     */
    public static final String TECHNICIAN_REPLACE_TEL_VERIFY = "TECHNICIAN_REPLACE_TEL_VERIFY";

    /**
     * 技师更换手机号验证
     */
    public static final String TECHNICIAN_REPLACE_TEL = "TECHNICIAN_REPLACE_TEL";

    /**
     * 验证码有效期 60秒
     */
    public static final long SMS_INVALID_CODE_TIME = 60L;
    /**
     * Rsa 密钥对常量
     */
    public final static String publicKeyStr = "publicKeyStr";
    public final static String privateKeyStr = "privateKeyStr";
    /**
     * cos文件上传文件夹路径
     */
    public static final String COS_FILE_PATH = "%s/images";
    /**
     * 限流redis Key
     */
    public static final String LIMITER_REDIS_KEY = "LIMITER_REDIS_KEY:";
    /**
     * 消费记录常量
     */
    public static final String CONSUMPTION_ADD = "ADD";
    public static final String CONSUMPTION_REDUCE = "REDUCE";
    public static final String CONSUMPTION_PAYOUT = "PAYOUT";
    public static final String CONSUMPTION_REFUND = "REFUND";

    /**
     * 用户优惠券状态
     */
    /**
     * 已使用
     */
    public static final String USERCOUPON_USER = "USER";
    /**
     * 未使用
     */
    public static final String USERCOUPON_NOT = "NOT";
    /**
     * 已过期
     */
    public static final String USERCOUPON_EXPIRED = "EXPIRED";


}
